package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    /*条件查询当前用户所有地址*/
    public List<AddressBook> list(AddressBook addressBook);

    public void save(AddressBook addressBook);

    public AddressBook getAddressBookById(Long id);

    public void update(AddressBook addressBook);

    public void setDefault(AddressBook addressBook);

    public void deleteById(Long id);
}
